package com.yunxun.coinmessage.model;

import com.yunxun.coinmessage.sqlvo.ContentVO;

import javax.print.attribute.standard.MediaSize;
import java.util.List;

public class JsonBean {
    private Result result;
    private int status;

    public Result getResult() {
        return result;
    }

    public void setResult(Result result) {
        this.result = result;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
    //Result内部类
    public  class Result{
        private List<ReceiveContent> list;
        private int total;

        public List<ReceiveContent> getList() {
            return list;
        }

        public void setList(List<ReceiveContent> list) {
            this.list = list;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }
        //ReceiveContent内部类
        public  class  ReceiveContent {
            //          { "result":{ "list":[ { "column":2, "content":"APAC Tour 圆满落幕 预告一下 4月会有Europe Tour哦网页链接 ​​​", "create_time":1523418322,
            //               "digital_cash":6, "exchange":0, "hash_code":"d41d28cd00c0cc80f535c1282d716c9c", "id":"5acd84d261ab0817009b278e", "other":{},
            //            "source_link":"https://m.weibo.cn/status/4219693461776953", "source_name":"weibo", "status":3, "tag":[], "title":"APAC Tour 圆满" }

            private int column;
            private String content;
            private Long create_time;
            private String id;
            private String source_link;
            private int digital_cash;
            private int exchange;
            private int status;
            private String title;
            private String formatTime;//将创建时间戳转化为标准格式的时间
            private String program_name;
            private String ename;
            private String cname;
            private String hash_code;
            private Other other;
            //Other内部类
            public class Other{
                private String source_content;
                private String source_title;

                public String getSource_content() {
                    return source_content;
                }

                public void setSource_content(String source_content) {
                    this.source_content = source_content;
                }

                public String getSource_title() {
                    return source_title;
                }

                public void setSource_title(String source_title) {
                    this.source_title = source_title;
                }
            }

            public Other getOther() {
                return other;
            }

            public void setOther(Other other) {
                this.other = other;
            }

            public String getHash_code() {
                return hash_code;
            }

            public void setHash_code(String hash_code) {
                this.hash_code = hash_code;
            }

            public String getSource_link() {
                return source_link;
            }

            public void setSource_link(String source_link) {
                this.source_link = source_link;
            }

            public String getEname() {
                return ename;
            }

            public void setEname(String ename) {
                this.ename = ename;
            }

            public String getCname() {
                return cname;
            }

            public void setCname(String cname) {
                this.cname = cname;
            }

            public String getProgram_name() {
                return program_name;
            }

            public void setProgram_name(String program_name) {
                this.program_name = program_name;
            }

            public String getFormatTime() {
                return formatTime;
            }

            public void setFormatTime(String formatTime) {
                this.formatTime = formatTime;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getColumn() {
                return column;
            }

            public void setColumn(int column) {
                this.column = column;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public Long getCreate_time() {
                return create_time;
            }

            public void setCreate_time(Long create_time) {
                this.create_time = create_time;
            }

            public int getDigital_cash() {
                return digital_cash;
            }

            public void setDigital_cash(int digital_cash) {
                this.digital_cash = digital_cash;
            }

            public int getExchange() {
                return exchange;
            }

            public void setExchange(int exchange) {
                this.exchange = exchange;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) { this.status = status;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

        }
    }
}
